package com.huatai.range.query;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName PageQuery
 * @Description TODO
 * @Author @luoxc
 * @Date 2023/4/12 10:55
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageQuery<T> {

	@ApiModelProperty(value = "每页显示条数")
	private Long size = 10L;

	@ApiModelProperty(value = "当前页")
	private Long current = 1L;

	@ApiModelProperty(value = "实体类")
	private T data;

}
